<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <link rel="stylesheet" type="text/css" href="__CSS__/lib/normalize.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__/mui-3.6.1.min.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__/appraise.css" />
    <title>评价</title>
</head>

<body>
    <div class="mui-content">
        <div class="top-bar mui-row">

            <div class="return mui-col-sm-2 mui-col-xs-2" onclick="location.href='{$ref}'"></div>

            <div class="top-middle mui-col-sm-8 mui-col-xs-8">
                <div class="s-top-middle">
                    评价
                </div>
            </div>
            <div class="top-right mui-col-sm-2 mui-col-xs-2"></div>
        </div>
    </div>
     <form id="form" >
    <div class="rhfs" >

        <input type="hidden" id="service" name="service" value="5"/>
        <input type="hidden" id="send" name="send" value="5"/>
        <input type="hidden" id="isPJ" name="isPJ" value="{$isPJ}"/>
        <input type="hidden" name="orderId" value="{$info.orderId}"/>
        <div class="rhfs-top">{$info.shopName}</div>
        <div class="rhfs-bot">商家服务评价</div><div   class="rhfs-str ">
             <if condition="$isPJ eq 0">
                <a class="rhfs-str-active"></a>
                <a class="rhfs-str-active"></a>
                <a class="rhfs-str-active"></a>
                <a class="rhfs-str-active"></a>
                <a class="rhfs-str-active"></a>
            <else/>
                <for start="0" end="$appraisesInfo['serviceScore']">
                    <a class="rhfs-str-active" onclick="javascript:void(0)"></a>
                </for>
            </if>
        </div>
        <div class="rhfs-bot2">商家配送评价</div><div  class="rhfs-str2 ">
             <if condition="$isPJ eq 0">
                <a class="rhfs-str-active"></a>
                <a class="rhfs-str-active"></a>
                <a class="rhfs-str-active"></a>
                <a class="rhfs-str-active"></a>
                <a class="rhfs-str-active"></a>
            <else/>
                <for start="0" end="$appraisesInfo['timeScore']">
                    <a class="rhfs-str-active" onclick="javascript:void(0)"></a>
                </for>
            </if>
        </div>
        <div class="txt-fx">
            <!-- <textarea name="content" placeholder="店铺满足你的期待吗？说说你的购买心得，分享给想买的他们吧"></textarea> -->
        </div>
    </div>

    <foreach name="goodsInfo" key="k" item="v">
        <div class="hys" >
            <input type="hidden" class="gid" name="gId[{$k}]" value="{$v['goodsId']}"/>
            <input type="hidden" class="gscore" name="gScore[{$k}]" value="5"/>
            <div class="hongfushi"  style="background-image: url(/{$v['goodsThums']})">
            </div>
            <div class="pingguo">
                <div>{$v['goodsName']}</div>
                <div class="pingguo-1 ">
                      <if condition="$isPJ eq 0">
                            <a class="rhfs-str-active"></a>
                            <a class="rhfs-str-active"></a>
                            <a class="rhfs-str-active"></a>
                            <a class="rhfs-str-active"></a>
                            <a class="rhfs-str-active"></a>
                        <else/>
                            <for start="0" end="$appraisesInfo['goodsScore']">
                                <a class="rhfs-str-active" onclick="javascript:void(0)"></a>
                            </for>

                        </if>
                </div>
            </div>
            <div class="txt-fxx">
                <textarea name="gContent[{$k}]" <if condition="$isPJ eq 1 ">disabled="disabled"</if>placeholder="店铺满足你的期待吗？说说你的购买心得，分享给想买的他们吧">{$appraisesInfo['content']}</textarea>
            </div>
            <div class="b-niming"><div class="<if condition="$appraisesInfo['anonymity'] eq 1 ">niming niming-active<else/>niming </if> ">

                 <if condition="$appraisesInfo['anonymity'] eq 0">
                    <input class="ni-ming" name="niMing[{$k}]" value="0" type="hidden" />
                    </div>匿名<div class="nxd">你写的评价会以匿名的形式出现</div></div>
                <else/>
                    <input class=" niming-active" name="niMing[{$k}]" value="1" type="hidden" />
                    </div>匿名<div class="nxd"></div></div>
                </if>

        </div>
    </foreach>

    </form>
    <if condition="$isPJ eq 0">
        <div class="tijiao" onclick="submitForm('{$ref}',{$orderId})">提交</div>
    </if>

<script type="text/javascript" src="__JS__/jquery2.1.1.min.js"></script>
<script type="text/javascript" src="__JS__/mui-3.6.1.min.js"></script>
<script type="text/javascript" src="__JS__/appraise.js"></script>
<script type="text/javascript"></script>
</body>

</html>
